/*
 * @Description: 网站入口路由
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2025-06-06
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2025-08-18 15:46:51
 */
import { layout } from '/@/layouts'

export default [
  {
    path: '',
    redirect: '/home',
  },
  {
    name: 'portal',
    path: '/',
    component: layout,
    children: [
      /** 首页 */
      {
        path: 'home',
        name: 'home',
        component: () => import('/@/views/main/home.vue'),
      },
      /** 要素治理平台 */
      {
        path: 'data-govern',
        name: 'data-govern',
        component: () => import('/@/views/main/dataGovern.vue'),
      },
      /** 要素流通平台 */
      {
        path: 'data-flow',
        name: 'data-flow',
        component: () => import('/@/views/main/dataFlow.vue'),
      },
      /** 要素加工平台 */
      {
        path: 'data-process',
        name: 'data-process',
        component: () => import('/@/views/main/dataProcess.vue'),
      },
      /** 应用服务 */
      {
        path: 'application',
        name: 'application',
        component: () => import('/@/views/main/application.vue'),
      },
      /** 生态伙伴合作 */
      {
        path: 'partner',
        name: 'partner',
        redirect: '/partner/index',
        children: [
          {
            path: 'index',
            name: 'partner-index',
            component: () => import('/@/views/main/partner.vue'),
          },
          {
            path: 'join',
            name: 'partner-join',
            component: () => import('/@/views/main/partnerJoin.vue'),
          },
        ],
      },
    ],
  },
]
